<div id="form_leave">
	<div class="pc-nav form-nav">
		<button @click="back(-1)"><i class="icon iconfont">&#xe62b;</i></button>
		<span>人事类</span>
	</div>
	<ul class="approval-form-wrap">
		<li>
			<em class="left"><span style="color: red;">*</span>类型</em>
			<i class="right">
				<select name="" v-model="submitJson.component[0].value">
					<option value="" selected="selected">
						请选择(必填)
					</option>
					<option value="招聘需求">
						招聘需求
					</option>
					<option value="入职审批">
						入职审批
					</option>
					<option value="跨部门协助">
						跨部门协助
					</option>
					<option value="离职申请">
						离职申请
					</option>
				</select>
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[0].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>类型不能为空</p>
			</i>
		</li>
		<li>
			<em class="left">说明</em>
			<i class="right">
				<textarea name="" rows="" cols="" v-model="submitJson.component[1].value" placeholder="请输入"></textarea>
			</i>
		</li>
		<li>
			<em class="left">附件</em>
			<i class="right">
				<upload_tpl message="img" name="附件" v-on:getfile="getFilefn"></upload_tpl>
			</i>
		</li>
		<li>
			<em class="left"></em>
			<i class="icon right" style="color: #CCCCCC;">
				<p>招聘需求+杭州抄送给孙维丽</p>
                <p>离职申请+抄送周恒海</p>
			</i>
		</li>
		<li>
			<em class="left">审批人</em>
			<i class="right">
				<dingding_users  v-on:getdingdinguser="getApproveUsers" message="approve" :approve_list="approve_list" :cc_list="cc_list" ></dingding_users>
			</i>
		</li>
		<li>
			<em class="left">抄送人</em>
			<i class="right">
				  <dingding_users v-on:getdingdinguser="getCopyUsers" :approve_list="approve_list" :cc_list="cc_list" message="cc"></dingding_users>
			</i>
		</li>
		<li>
			<em class="left"></em>
			<i class="right">
				  <span v-if="subFlag"></span>
				 <button class="submit-foot" @click="submitFn">提交 </button>
			</i>
		</li>
	</ul>
		
</div>


